package com.gs.xbinfomytest.entity.dsl;

import com.gitee.hengboy.mybatis.enhance.dsl.expression.ColumnExpression;
import com.gitee.hengboy.mybatis.enhance.dsl.expression.TableExpression;
import com.gs.xbinfomytest.entity.SysDictData;

/**
 * 字典数据表
 * @author ApiBoot Mybatis Enhance Codegen
 */
public class DSysDictData extends TableExpression<SysDictData> {

    public DSysDictData(String root) {
        super(root);
    }

    public static DSysDictData DSL() {
        return new DSysDictData("sys_dict_data");
    }

    /**
     * 字典编码
     */
    public ColumnExpression dictCode = new ColumnExpression("dict_code", this);
    /**
     * 字典排序
     */
    public ColumnExpression dictSort = new ColumnExpression("dict_sort", this);
    /**
     * 字典标签
     */
    public ColumnExpression dictLabel = new ColumnExpression("dict_label", this);
    /**
     * 字典键值
     */
    public ColumnExpression dictValue = new ColumnExpression("dict_value", this);
    /**
     * 字典类型
     */
    public ColumnExpression dictType = new ColumnExpression("dict_type", this);
    /**
     * 样式属性（其他样式扩展）
     */
    public ColumnExpression cssClass = new ColumnExpression("css_class", this);
    /**
     * 表格回显样式
     */
    public ColumnExpression listClass = new ColumnExpression("list_class", this);
    /**
     * 是否默认（Y是 N否）
     */
    public ColumnExpression isDefault = new ColumnExpression("is_default", this);
    /**
     * 状态（0正常 1停用）
     */
    public ColumnExpression status = new ColumnExpression("status", this);
    /**
     * 创建者
     */
    public ColumnExpression createBy = new ColumnExpression("create_by", this);
    /**
     * 创建时间
     */
    public ColumnExpression createTime = new ColumnExpression("create_time", this);
    /**
     * 更新者
     */
    public ColumnExpression updateBy = new ColumnExpression("update_by", this);
    /**
     * 更新时间
     */
    public ColumnExpression updateTime = new ColumnExpression("update_time", this);
    /**
     * 备注
     */
    public ColumnExpression remark = new ColumnExpression("remark", this);
    @Override
    public ColumnExpression[] getColumns() {
        return new ColumnExpression[]{dictCode, dictSort, dictLabel, dictValue, dictType, cssClass, listClass, isDefault, status, createBy, createTime, updateBy, updateTime, remark};
    }

}

